combobox—Always popup menu using current event
authorDaniel Boles <dboles@src.gnome.org>
Thu, 16 Feb 2017 21:33:25 +0000 (21:33 +0000)
committerDaniel Boles <dboles@src.gnome.org>
Thu, 16 Feb 2017 21:33:25 +0000 (21:33 +0000)
commit0c09e4776dae0c1b1f90d0de3bb16065d9ff7751
treef5a3593dcd91f582bee98e10b8bb507cde479d01
parent69d2459471e36309f63b651b18da1ed3fdedc148
combobox—Always popup menu using current event

priv->trigger_event is never set, so it is always NULL. This means the
gtk_menu_popup*() methods use the current event. The only way to get any
other event to combobox_menu_popup() was from the button-press-event
handler I just removed, which would end up being the current one anyway.

So, bin priv->trigger_event & explicitly pass NULL to gtk_menu_popup*().
gtk/gtkcombobox.c